const version = {
  isClick() {
    return localStorage.getItem('version') === this.data[0].name;
  },
  setClick() {
    localStorage.setItem('version', this.data[0].name);
  },
  data: [{
    name: '汇员帮V1.3.4版本',
    date: '2018-06-09',
    href: 'https://mp.weixin.qq.com/s/N9uw9N0z-SQ2Iwn-CbW0Kg',
  }, {
    name: '汇员帮V1.3.3版本',
    date: '2018-05-18',
    href: 'https://mp.weixin.qq.com/s/6YHJcuGVWEJtyIhv9PEdfw',
  }, {
    name: '汇员帮V1.3版本',
    date: '2018-02-03',
    href: 'https://mp.weixin.qq.com/s?__biz=MzU4NTA1NDk5Ng==&mid=2247485252&idx=1&sn=5cbeb1816a219c26d1dbb2297b0b3ff0&scene=19#wechat_redirect',
  }, {
    name: '汇员帮V1.2.1版本',
    date: '2017-12-16',
    href: 'https://mp.weixin.qq.com/s?__biz=MzU4NTA1NDk5Ng==&mid=2247484989&idx=1&sn=05478b951380a4d92bc44c5ddf8a4f49&scene=19#wechat_redirect',
  }, {
    name: '汇员帮V1.1版本',
    date: '2017-08-23',
    href: 'https://mp.weixin.qq.com/s?__biz=MzU4NTA1NDk5Ng==&mid=2247484091&idx=1&sn=1e8339b0025911844ddf508a6f805db2&scene=19#wechat_redirect',
  }, {
    name: '汇员帮V2.0版本',
    date: '2018-08-23',
    href: 'https://mp.weixin.qq.com/s?__biz=MzU4NTA1NDk5Ng==&mid=2247485971&idx=1&sn=4a068ef677f551ccf18b63a3893866d1&chksm=fd912468cae6ad7e3215753e692329642b0cc74c6652ea51c4fd82c6c7f9ed5a5c222ec7f4f5&token=1979747636&lang=zh_CN#rd',
  }, {
    name: '汇员帮V2.1版本',
    date: '2018-10-23',
    href: 'https://mp.weixin.qq.com/s?__biz=MzU4NTA1NDk5Ng==&mid=2247486109&idx=1&sn=cd851ffa5d56c0e19e75c896e0c92ba9&chksm=fd9124e6cae6adf0f94fe9f0cc7ced387a44ee2d402fda4921d5ee232567038195f5e74e1577&token=1979747636&lang=zh_CN#rd',
  }, {
    name: '汇员帮V2.3版本',
    date: '2018-12-23',
    href: 'https://mp.weixin.qq.com/s?__biz=MzU4NTA1NDk5Ng==&mid=2247486733&idx=1&sn=70278fa239e60039b60ec53e87f8e777&chksm=fd912376cae6aa604f22eedd29f7a8231df1bf1d6b3b010153eb7f2c6166db272261fe929ad8&token=1979747636&lang=zh_CN#rd',
  },
  ],
};

export { version };
